//
//  ButtonViewController.m
//  Button
//

#import "ButtonViewController.h"

@implementation ButtonViewController

- (void)viewDidLoad {
    [super viewDidLoad];
	
	UIButton *customButton = [UIButton buttonWithType:UIButtonTypeCustom];
	[customButton setFrame:CGRectMake(77, 30, 165, 164)];
	[customButton setBackgroundColor:[UIColor clearColor]];
	
	//
	UIImage *buttonImage = [UIImage imageNamed:@"myButtonImage.png"];
	[customButton setImage:buttonImage forState:UIControlStateNormal];
	
	[self.view addSubview:customButton];
}

- (void)dealloc {
    [super dealloc];
}

@end
